<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0">
    <link rel="stylesheet" href="../css/public.css"/>
    <link rel="stylesheet" href="../css/save/font/icon.css"/>
    <link rel="stylesheet" href="../css/save/save.css"/>
    <title></title>
    <style>
        [ng-cloak]{
            display:none
        }
    </style>
</head>
<body ng-app="saveApp" ng-controller="saveCtrl" ng-cloak>
<div class="layout">
    <div class="header" id="head">
        <div class="left">
            <a href="../index.html" class="iconfont lager">&#xe693;</a>
        </div>
        <div class="mid">
            <h1>省钱控-最新优惠</h1>
        </div>
        <div class="right">
            <a href="http://a.app.qq.com/o/simple.jsp?pkgname=com.manmanbuy.bijia&ckey=CK1360146084813">
                <img src="../images/index_header_app.png" alt=""/>
            </a>
        </div>
    </div>
    <div class="main">
        <div class="product">
            <ul>
                <li ng-repeat="product in data">
                    <a ng-href="detaile.html?productid={{product.productId}}" ng-click="detaile()">
                        <div class="img" ng-bind-html="product.productImgSm|trustHtml">
                        </div>
                        <div class="content">
                            <div class="title">
                                {{product.productName}}
                                <span>{{product.productPinkage}}</span>
                            </div>
                            <div class="bottom">
                                <span class="small">{{product.productFrom}} | {{product.productTime}}</span>
                                <span class="comment">
                                    <i class="iconfont mes">&#xe60d;</i>
                                    {{product.productComCount|limitTo:1:-4}}
                                </span>
                            </div>
                        </div>
                    </a>
                </li>
            </ul>
        </div>
        <div class="page">
           <table width="100%">
               <tbody>
                    <tr>
                        <td>
                            <a ng-click="upPage()" >
                                上一页</a>
                        </td>
                        <td height="1.6rem">
                            <select name="sel" ng-change='change(page)' ng-model="page">
                                <option ng-repeat="rel in maxPage" ng-model="page"   ng-selected="rel==page">
                                    {{rel}}/{{maxPage.length}}
                                </option>
                            </select>
                        </td>
                        <td>
                            <a ng-click="downPage()" >下一页</a>
                        </td>
                    </tr>
               </tbody>
           </table>
        </div>
    </div>
    <!--面包屑-->
    <div class="floor">
        <a href="../index.html">首页</a>
        &nbsp;>&nbsp;省钱控
    </div>
    <div class="footer">
        <div class="foot_top">
            <a href="">登录</a>
            <a href="">注册</a>
            <a href="javascript:pageScroll();" id='top'>
                <img src="../images/top.jpg" alt="">返回顶部</a>
        </div>
        <div class="foot_bottom">
            <p>
                <a href="">手机APP下载</a>
                <a href="">慢慢买手机版</a>
                -- 掌上比价平台
            </p>
            <p>m.manmanbuy.com</p>
        </div>
    </div>

</div>
<script src="../node_modules/_angular@1.6.5@angular/angular.js"></script>
<script src="../node_modules/_angular-route@1.6.5@angular-route/angular-route.js"></script>
<script src="../node_modules/_angular-sanitize@1.6.5@angular-sanitize/angular-sanitize.js"></script>
<script src="../js/save/save.js"></script>
<script>
    function pageScroll() {
        window.scrollBy(0,-10);
        scrolldelay=setTimeout('pageScroll()',-1);
        if(window.scrollY==0) {
            clearTimeout(scrolldelay);
        }
    }
</script>

</body>
</html>